Optimal. Leaf size=59 \[ -\frac {\sqrt {b x^2+c x^4}}{2 b x^3}+\frac {c \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {b x^2+c x^4}}\right )}{2 b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3, 2050, 2033,
212} \begin {gather*} \frac {c \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {b x^2+c x^4}}\right )}{2 b^{3/2}}-\frac {\sqrt {b x^2+c x^4}}{2 b x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3
Rule 212
Rule 2033
Rule 2050
Rubi steps
\begin {align*} \int \frac {1}{x^2 \sqrt {2+2 a-2 (1+a)+b x^2+c x^4}} \, dx &=\int \frac {1}{x^2 \sqrt {b x^2+c x^4}} \, dx\\ &=-\frac {\sqrt {b x^2+c x^4}}{2 b x^3}-\frac {c \int \frac {1}{\sqrt {b x^2+c x^4}} \, dx}{2 b}\\ &=-\frac {\sqrt {b x^2+c x^4}}{2 b x^3}+\frac {c \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {b x^2+c x^4}}\right )}{2 b}\\ &=-\frac {\sqrt {b x^2+c x^4}}{2 b x^3}+\frac {c \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {b x^2+c x^4}}\right )}{2 b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 76, normalized size = 1.29 \begin {gather*} \frac {-\sqrt {b} \left (b+c x^2\right )+c x^2 \sqrt {b+c x^2} \tanh ^{-1}\left (\frac {\sqrt {b+c x^2}}{\sqrt {b}}\right )}{2 b^{3/2} x \sqrt {x^2 \left (b+c x^2\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 73, normalized size = 1.24
method | result | size |
default | \(-\frac {\sqrt {c \,x^{2}+b}\, \left (-c \ln \left (\frac {2 b +2 \sqrt {b}\, \sqrt {c \,x^{2}+b}}{x}\right ) b \,x^{2}+\sqrt {c \,x^{2}+b}\, b^{\frac {3}{2}}\right )}{2 x \sqrt {c \,x^{4}+b \,x^{2}}\, b^{\frac {5}{2}}}\) | \(73\) |
risch | \(-\frac {c \,x^{2}+b}{2 b x \sqrt {x^{2} \left (c \,x^{2}+b \right )}}+\frac {c \ln \left (\frac {2 b +2 \sqrt {b}\, \sqrt {c \,x^{2}+b}}{x}\right ) x \sqrt {c \,x^{2}+b}}{2 b^{\frac {3}{2}} \sqrt {x^{2} \left (c \,x^{2}+b \right )}}\) | \(82\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 133, normalized size = 2.25 \begin {gather*} \left [\frac {\sqrt {b} c x^{3} \log \left (-\frac {c x^{3} + 2 \, b x + 2 \, \sqrt {c x^{4} + b x^{2}} \sqrt {b}}{x^{3}}\right ) - 2 \, \sqrt {c x^{4} + b x^{2}} b}{4 \, b^{2} x^{3}}, -\frac {\sqrt {-b} c x^{3} \arctan \left (\frac {\sqrt {c x^{4} + b x^{2}} \sqrt {-b}}{c x^{3} + b x}\right ) + \sqrt {c x^{4} + b x^{2}} b}{2 \, b^{2} x^{3}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{2} \sqrt {x^{2} \left (b + c x^{2}\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.89, size = 55, normalized size = 0.93 \begin {gather*} -\frac {\frac {c^{2} \arctan \left (\frac {\sqrt {c x^{2} + b}}{\sqrt {-b}}\right )}{\sqrt {-b} b} + \frac {\sqrt {c x^{2} + b} c}{b x^{2}}}{2 \, c \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.64, size = 76, normalized size = 1.29 \begin {gather*} -\frac {\left (\frac {\sqrt {c}\,x^2\,\sqrt {c+\frac {b}{x^2}}}{2\,b}+\frac {c^{3/2}\,x^3\,\mathrm {asin}\left (\frac {\sqrt {b}\,1{}\mathrm {i}}{\sqrt {c}\,x}\right )\,1{}\mathrm {i}}{2\,b^{3/2}}\right )\,\sqrt {\frac {b}{c\,x^2}+1}}{x\,\sqrt {c\,x^4+b\,x^2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________